Bookly\Lib\Utils\DateTime A

Total Complexity 67
Dependencies 4
Dependents 59
Total lines 648
Lines of code 322
Logical lines of code 150
Comment lines 141
Methods 21
Properties 4

Methods 21

Method Rating Maintainability Complexity Lines of code
getTimeZoneOptions()
A
36 7 93
secondsToInterval()
A
47 8 34
getDatePartsOrder()
S
55 6 19
formatDateFor()
S
58 6 14
convertFormat()
S
55 5 19
applyStaffTimeZone()
S
61 5 11
timeToSeconds()
S
57 4 17
datePickerOptions()
S
53 3 22
buildTimeString()
S
61 3 11
applyTimeZone()
S
64 3 9
validateDate()
S
67 3 7
dateRangeOptions()
S
51 1 25
formatOffset()
S
66 2 8
timeZoneOffset()
S
65 2 8
formatTime()
S
76 2 3
formatDate()
S
76 2 3
convertTimeZone()
S
70 1 6
UTCToWPTimeZone()
S
77 1 3
applyTimeZoneOffset()
S
73 1 4
formatInterval()
S
78 1 3
formatDateTime()
S
78 1 3